<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: src/libslic3r/Print.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_f69e6fbaea45487e96bc9ed8ccf9ff8f.html">libslic3r</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">Print.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="libslic3r_8h_source.html">libslic3r.h</a>&quot;</code><br />
<code>#include &lt;set&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &lt;boost/thread.hpp&gt;</code><br />
<code>#include &quot;<a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_flow_8hpp_source.html">Flow.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_print_config_8hpp_source.html">PrintConfig.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_point_8hpp_source.html">Point.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_layer_8hpp_source.html">Layer.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_model_8hpp_source.html">Model.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_placeholder_parser_8hpp_source.html">PlaceholderParser.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_slicing_adaptive_8hpp_source.html">SlicingAdaptive.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_layer_height_spline_8hpp_source.html">LayerHeightSpline.hpp</a>&quot;</code><br />
</div>
<p><a href="_print_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_print_state.html">Slic3r::PrintState&lt; StepType &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_print_region.html">Slic3r::PrintRegion</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_print_object.html">Slic3r::PrintObject</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_print.html">Slic3r::Print</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespace_slic3r"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html">Slic3r</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a073e92835bcc3ee68800775728aab8c6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_print_8hpp.html#a073e92835bcc3ee68800775728aab8c6">FOREACH_BASE</a>(type,  container,  iterator)&#160;&#160;&#160;for (type::const_iterator iterator = (container).begin(); iterator != (container).end(); ++iterator)</td></tr>
<tr class="separator:a073e92835bcc3ee68800775728aab8c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e4fc2efd311c131e5b8b2a2377a4a09"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_print_8hpp.html#a1e4fc2efd311c131e5b8b2a2377a4a09">FOREACH_REGION</a>(print,  region)&#160;&#160;&#160;<a class="el" href="_print_8hpp.html#a073e92835bcc3ee68800775728aab8c6">FOREACH_BASE</a>(<a class="el" href="namespace_slic3r.html#aa01c8efa0a5ba195a5a64e236fa0fdfe">PrintRegionPtrs</a>, (print)-&gt;regions, region)</td></tr>
<tr class="separator:a1e4fc2efd311c131e5b8b2a2377a4a09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37f36382ceb30955315ccfee0290e78c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_print_8hpp.html#a37f36382ceb30955315ccfee0290e78c">FOREACH_OBJECT</a>(print,  object)&#160;&#160;&#160;<a class="el" href="_print_8hpp.html#a073e92835bcc3ee68800775728aab8c6">FOREACH_BASE</a>(<a class="el" href="namespace_slic3r.html#abadc2e1cb90927922dc900c502d701b5">PrintObjectPtrs</a>, (print)-&gt;objects, object)</td></tr>
<tr class="separator:a37f36382ceb30955315ccfee0290e78c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f41f821364918fde13a7a08a6c30ed6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_print_8hpp.html#a8f41f821364918fde13a7a08a6c30ed6">FOREACH_LAYER</a>(object,  layer)&#160;&#160;&#160;<a class="el" href="_print_8hpp.html#a073e92835bcc3ee68800775728aab8c6">FOREACH_BASE</a>(<a class="el" href="namespace_slic3r.html#a236bd0d0562749c86ba0daf8c45bdf0c">LayerPtrs</a>, (object)-&gt;layers, layer)</td></tr>
<tr class="separator:a8f41f821364918fde13a7a08a6c30ed6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a990bd78f8e4317cc840560454ef71fd9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_print_8hpp.html#a990bd78f8e4317cc840560454ef71fd9">FOREACH_LAYERREGION</a>(layer,  layerm)&#160;&#160;&#160;<a class="el" href="_print_8hpp.html#a073e92835bcc3ee68800775728aab8c6">FOREACH_BASE</a>(<a class="el" href="namespace_slic3r.html#a032c64f1b2cab8a7308dffee4666109e">LayerRegionPtrs</a>, (layer)-&gt;regions, layerm)</td></tr>
<tr class="separator:a990bd78f8e4317cc840560454ef71fd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a236bd0d0562749c86ba0daf8c45bdf0c"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="class_slic3r_1_1_layer.html">Layer</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a236bd0d0562749c86ba0daf8c45bdf0c">Slic3r::LayerPtrs</a></td></tr>
<tr class="separator:a236bd0d0562749c86ba0daf8c45bdf0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8136847c9a01e9549ec65c3e4334da96"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="class_slic3r_1_1_support_layer.html">SupportLayer</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a8136847c9a01e9549ec65c3e4334da96">Slic3r::SupportLayerPtrs</a></td></tr>
<tr class="separator:a8136847c9a01e9549ec65c3e4334da96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abadc2e1cb90927922dc900c502d701b5"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="class_slic3r_1_1_print_object.html">PrintObject</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#abadc2e1cb90927922dc900c502d701b5">Slic3r::PrintObjectPtrs</a></td></tr>
<tr class="separator:abadc2e1cb90927922dc900c502d701b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa01c8efa0a5ba195a5a64e236fa0fdfe"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="class_slic3r_1_1_print_region.html">PrintRegion</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#aa01c8efa0a5ba195a5a64e236fa0fdfe">Slic3r::PrintRegionPtrs</a></td></tr>
<tr class="separator:aa01c8efa0a5ba195a5a64e236fa0fdfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a64467311ef101236e18bc66eb62db4aa"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a64467311ef101236e18bc66eb62db4aa">Slic3r::PrintStep</a> { <a class="el" href="namespace_slic3r.html#a64467311ef101236e18bc66eb62db4aaa703e940b8723d0a29a8e434a54836f2e">Slic3r::psSkirt</a>, 
<a class="el" href="namespace_slic3r.html#a64467311ef101236e18bc66eb62db4aaa55cfa6f9c094bd592fe5441fafd87927">Slic3r::psBrim</a>
 }</td></tr>
<tr class="separator:a64467311ef101236e18bc66eb62db4aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac87b8f7bce3c06653f7686052d71d51e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#ac87b8f7bce3c06653f7686052d71d51e">Slic3r::PrintObjectStep</a> { <br />
&#160;&#160;<a class="el" href="namespace_slic3r.html#ac87b8f7bce3c06653f7686052d71d51ea12cb088bca5a34309cd2abebd226e3b7">Slic3r::posLayers</a>, 
<a class="el" href="namespace_slic3r.html#ac87b8f7bce3c06653f7686052d71d51ea13a463b7b5554cfee45b1db0c3e035c0">Slic3r::posSlice</a>, 
<a class="el" href="namespace_slic3r.html#ac87b8f7bce3c06653f7686052d71d51ea3444c21c85d2732782c64add44e099c4">Slic3r::posPerimeters</a>, 
<a class="el" href="namespace_slic3r.html#ac87b8f7bce3c06653f7686052d71d51eab9514e080882eae4f82fe809d6aba910">Slic3r::posDetectSurfaces</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_slic3r.html#ac87b8f7bce3c06653f7686052d71d51eac2ef902dc541cec1f5405f3e48c1814d">Slic3r::posPrepareInfill</a>, 
<a class="el" href="namespace_slic3r.html#ac87b8f7bce3c06653f7686052d71d51ea1f21c0c18989fb64eda78c7abdf9b98d">Slic3r::posInfill</a>, 
<a class="el" href="namespace_slic3r.html#ac87b8f7bce3c06653f7686052d71d51ea38f82b24c5b6c9f41b723f1bc6e6e2e2">Slic3r::posSupportMaterial</a>
<br />
 }</td></tr>
<tr class="separator:ac87b8f7bce3c06653f7686052d71d51e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a073e92835bcc3ee68800775728aab8c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a073e92835bcc3ee68800775728aab8c6">&#9670;&nbsp;</a></span>FOREACH_BASE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FOREACH_BASE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">type, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">container, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">iterator&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;for (type::const_iterator iterator = (container).begin(); iterator != (container).end(); ++iterator)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8f41f821364918fde13a7a08a6c30ed6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f41f821364918fde13a7a08a6c30ed6">&#9670;&nbsp;</a></span>FOREACH_LAYER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FOREACH_LAYER</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">object, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">layer&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="_print_8hpp.html#a073e92835bcc3ee68800775728aab8c6">FOREACH_BASE</a>(<a class="el" href="namespace_slic3r.html#a236bd0d0562749c86ba0daf8c45bdf0c">LayerPtrs</a>, (object)-&gt;layers, layer)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a990bd78f8e4317cc840560454ef71fd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a990bd78f8e4317cc840560454ef71fd9">&#9670;&nbsp;</a></span>FOREACH_LAYERREGION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FOREACH_LAYERREGION</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">layer, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">layerm&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="_print_8hpp.html#a073e92835bcc3ee68800775728aab8c6">FOREACH_BASE</a>(<a class="el" href="namespace_slic3r.html#a032c64f1b2cab8a7308dffee4666109e">LayerRegionPtrs</a>, (layer)-&gt;regions, layerm)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a37f36382ceb30955315ccfee0290e78c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37f36382ceb30955315ccfee0290e78c">&#9670;&nbsp;</a></span>FOREACH_OBJECT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FOREACH_OBJECT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">print, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">object&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="_print_8hpp.html#a073e92835bcc3ee68800775728aab8c6">FOREACH_BASE</a>(<a class="el" href="namespace_slic3r.html#abadc2e1cb90927922dc900c502d701b5">PrintObjectPtrs</a>, (print)-&gt;objects, object)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a1e4fc2efd311c131e5b8b2a2377a4a09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e4fc2efd311c131e5b8b2a2377a4a09">&#9670;&nbsp;</a></span>FOREACH_REGION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FOREACH_REGION</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">print, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">region&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="_print_8hpp.html#a073e92835bcc3ee68800775728aab8c6">FOREACH_BASE</a>(<a class="el" href="namespace_slic3r.html#aa01c8efa0a5ba195a5a64e236fa0fdfe">PrintRegionPtrs</a>, (print)-&gt;regions, region)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
